#add_executable(mytest IMPORTED)
add_executable(mytest IMPORTED GLOBAL)

get_property(var TARGET mytest PROPERTY IMPORTED)
message(STATUS "IMPORTED(sub) = ${var}")
